package com.itheima.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.github.pagehelper.Page;
import com.itheima.User;

@Mapper
public interface UserMapper {
    void delById(Integer id);

    User update(User user);
    /**
     * 分页查询
     * @return
     */
    Page<User> pageQuery();
    User findById(Integer id);
}
